package com.paperobot.dao;

import java.util.List;
import java.util.Map;

import com.paperobot.model.News;

public interface NewsDao {
	Long addNews(News news) throws Exception;	
	int updateNews(News News) throws Exception;	
	int updateNewsClickNum(Long newsId) throws Exception;
	int deleteNews(Long newsId) throws Exception;
	List<News> getNewsList(Map<String, Object> map) throws Exception;	
	List<News> getHotNewsList(Map<String, Object> map) throws Exception;
	List<News> getRecommendNewsList(Map<String, Object> map) throws Exception;
	News getNews(Long newsId) throws Exception;
}
